import React from 'react'

function Banner (props) {
  const {mainCoverFileCode} = props

  return (
    <div className='top bgw'>
      {mainCoverFileCode &&
        <div className='bannerWrap'>
          <img src={T.formatUrl(mainCoverFileCode)} />
          <div className='bannerText f32'>{T.urlQuery('productName')}</div>
        </div>
      }
    </div>
  )
}

export default Banner
